<template>
  <div class="search">
    <!-- 首页顶部搜索 -->
    <div class="search">
      <navigator url="/pages/search/main" hover-class="none">
        <div class="search-input">
          <icon type="search" size="14" />搜索
        </div>
      </navigator>
    </div>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="scss" scoped>
.search {
  background: #ff2d4a;
  padding: 20rpx;
  .search-input {
    background: #fff;
    border-radius: 5px; //凡是小于5的像素直接用px
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    padding: 5px;
    color: #999;
    icon {
      margin-right: 5px;
    }
  }
}
</style>

